package cn.hrlly.tao2shou.domain;

import com.google.gson.annotations.SerializedName;

import java.util.List;

/**
 * User: gengliang
 * Date: 2016-01-26
 * Time: 11:07
 */

public class Commodity {
    @SerializedName("status")
    private int status;
    @SerializedName("error_message")
    private String errorMessage;
    @SerializedName("release_id")
    private String releaseId;
    @SerializedName("commodity_photos")
    private List<String> commodityPhotos;
    @SerializedName("commodity_name")
    private String commodityName;
    @SerializedName("classification")
    private String classification;
    @SerializedName("expected_price")
    private double expectedPrice;
    @SerializedName("barter_description")
    private String barterDescription;
    @SerializedName("new_degree")
    private int newDegree;
    @SerializedName("commodity_description")
    private String commodityDescription;
    @SerializedName("expected_time")
    private String expectedTime;
    @SerializedName("expected_location")
    private String expectedLocation;
    @SerializedName("seller_id")
    private String sellerId;
    @SerializedName("release_time")
    private String releaseTime;
    @SerializedName("browse_times")
    private int browseTimes;
    @SerializedName("distance")
    private double distance;
    @SerializedName("commodity_count")
    private int commodityCount;
    @SerializedName("barter_flag")
    private int barterFlag;

    @Override
    public String toString() {
        return "Commodity{" +
                "status=" + status +
                ", errorMessage='" + errorMessage + '\'' +
                ", releaseId='" + releaseId + '\'' +
                ", commodityPhotos=" + commodityPhotos +
                ", commodityName='" + commodityName + '\'' +
                ", classification='" + classification + '\'' +
                ", expectedPrice=" + expectedPrice +
                ", barterDescription='" + barterDescription + '\'' +
                ", newDegree=" + newDegree +
                ", commodityDescription='" + commodityDescription + '\'' +
                ", expectedTime='" + expectedTime + '\'' +
                ", expectedLocation='" + expectedLocation + '\'' +
                ", sellerId='" + sellerId + '\'' +
                ", releaseTime='" + releaseTime + '\'' +
                ", browseTimes=" + browseTimes +
                ", distance=" + distance +
                ", commodityCount=" + commodityCount +
                ", barterFlag=" + barterFlag +
                '}';
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public String getErrorMessage() {
        return errorMessage;
    }

    public void setErrorMessage(String errorMessage) {
        this.errorMessage = errorMessage;
    }

    public String getReleaseId() {
        return releaseId;
    }

    public void setReleaseId(String releaseId) {
        this.releaseId = releaseId;
    }

    public List<String> getCommodityPhotos() {
        return commodityPhotos;
    }

    public void setCommodityPhotos(List<String> commodityPhotos) {
        this.commodityPhotos = commodityPhotos;
    }

    public String getCommodityName() {
        return commodityName;
    }

    public void setCommodityName(String commodityName) {
        this.commodityName = commodityName;
    }

    public String getClassification() {
        return classification;
    }

    public void setClassification(String classification) {
        this.classification = classification;
    }

    public double getExpectedPrice() {
        return expectedPrice;
    }

    public void setExpectedPrice(double expectedPrice) {
        this.expectedPrice = expectedPrice;
    }

    public String getBarterDescription() {
        return barterDescription;
    }

    public void setBarterDescription(String barterDescription) {
        this.barterDescription = barterDescription;
    }

    public int getNewDegree() {
        return newDegree;
    }

    public void setNewDegree(int newDegree) {
        this.newDegree = newDegree;
    }

    public String getCommodityDescription() {
        return commodityDescription;
    }

    public void setCommodityDescription(String commodityDescription) {
        this.commodityDescription = commodityDescription;
    }

    public String getExpectedTime() {
        return expectedTime;
    }

    public void setExpectedTime(String expectedTime) {
        this.expectedTime = expectedTime;
    }

    public String getExpectedLocation() {
        return expectedLocation;
    }

    public void setExpectedLocation(String expectedLocation) {
        this.expectedLocation = expectedLocation;
    }

    public String getSellerId() {
        return sellerId;
    }

    public void setSellerId(String sellerId) {
        this.sellerId = sellerId;
    }

    public String getReleaseTime() {
        return releaseTime;
    }

    public void setReleaseTime(String releaseTime) {
        this.releaseTime = releaseTime;
    }

    public int getBrowseTimes() {
        return browseTimes;
    }

    public void setBrowseTimes(int browseTimes) {
        this.browseTimes = browseTimes;
    }

    public double getDistance() {
        return distance;
    }

    public void setDistance(double distance) {
        this.distance = distance;
    }

    public int getCommodityCount() {
        return commodityCount;
    }

    public void setCommodityCount(int commodityCount) {
        this.commodityCount = commodityCount;
    }

    public int getBarterFlag() {
        return barterFlag;
    }

    public void setBarterFlag(int barterFlag) {
        this.barterFlag = barterFlag;
    }
}
